package com.atgm.mall.gmmailorder.feign;

import com.atgm.mall.gmmailorder.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "gm-mall-member")
public interface MemberFeignService {

    @GetMapping("/gmmallmember/memberreceiveaddress/{memberId}/addresses")
    public List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);

}
